package com.aaa.service.scl;

import com.aaa.entity.system.PageEnty;
import com.aaa.entity.scl.PlanScl;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 测试计划scl(PlanScl)表服务接口
 *
 * @author makejava
 * @since 2022-08-30 21:17:59
 */
public interface PlanSclService {
    /**
     * @create by: Teacher马
     * @description: 分页排序 查询所有
     * @create time:

     * @return
    */
    Page queryAllPlanSclPage(PageEnty pageEnty, PlanScl planScl);

    /**
     * @create by: Teacher马
     * @description: 添加
     * @create time:

     * @return
     */
    boolean  savePlanScl(PlanScl planScl);

    /**
     * @create by: Teacher马
     * @description: 根据id 多选 删除
     * @create time:

     * @return
     */
    boolean  deletePlanScl(@Param("xxx") int[] id);

    /**
     * @create by: Teacher马
     * @description: 修改
     * @create time:

     * @return
     */
    boolean updatePlanScl(PlanScl planScl);

    /**
     * @create by: feng (zhaixing@163.com)
     * @description: 查询题目是否重名
     * @create time: 2022/7/14 17:07
     * @param "questionFpa"
     * @return boolean
     */
    boolean repetitionName(PlanScl planScl);

    List<PlanScl> queryAll();

}
